import styled from 'styled-components'

export const ExploreWrapper = styled.div`
  width: 1000px;
  margin: 32px auto 0 auto;
`

export const TitleWrapper = styled.div`
  height: 36px;
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 25px;
  .iconfont {
    color: #0084ff;
    font-size: 35px;
    margin-right: 12px;
    position: relative;
    top: 2px;
  }
`

export const SpecialWrapper = styled.div`
  display: flex;
  justify-content: space-between; 
  flex-wrap: wrap;
  padding: 24px 0 20px;
`

export const SpecialItem = styled.div`
  width: 490px;
  height: 450px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 3px 0 rgba(26,26,26,.1);
  margin-bottom: 20px;
  overflow: hidden;
`

export const ItemImg = styled.div`
  width: 490px;
  height: 200px;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
`

export const ItemHeader = styled.div`
  height: 110px;
  margin: 0 24px;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
`

export const HeaderTitle = styled.div`
  font-size: 20px;
  font-weight: bold;
  line-height: 28px;
`

export const HeaderInfo = styled.div`
  margin-top: 4px;
  height: 17px;
  line-height: 17px;
  font-size: 12px;
  color: #999;
  .time {
    margin-right: 3px;
  }
  .count {
    margin-left: 3px;
  }
`

export const HeaderBtn = styled.div`
  width: 102px;
  height: 34px;
  line-height: 34px;
  font-weight: bold;
  text-align: center;
  border-radius: 3px;
  font-size: 14px;
  color: #0084ff;
  background-color: rgba(0,132,255,.08);
`

export const ItemContentList = styled.div`
  margin: 20px 24px;
`

export const ContentItem = styled.div`
  display: flex;
  height: 24px;
  line-height: 24px;
  margin-bottom: 10px;
  .item-desc {
    margin-left: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
`

export const ContentItemTag = styled.span`
  /*flex-shrink: 定义项目的缩小比例 默认为 1 ，当空间不足会缩小 0 不缩小   */
  flex-shrink: 0;
  padding: 0 8px;
  height: 24px;
  line-height: 24px;
  font-size: 12px;
  color: #8590a6;
  background-color: #f6f6f6;
  border-radius: 5px;
`


